package com.ocean.core.util.upload.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 文件config
 *
 * @author zhang
 * @since 2023/11/28
 */
@Data
@Component
@ConfigurationProperties(prefix = "ocean.file")
public class FileProperties {

    /**
     * 上传地址
     */
    private String upload;

    /**
     * 封面访问地址
     */
    private String requestUrl;
}
